<script setup lang="ts">
import {useRouter} from "vue-router";

const $router = useRouter();
</script>

<template>
    <el-result title="404" sub-title="抱歉！你访问的页面不存在！">
        <template #icon>
            <el-image
                src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png"
            />
        </template>
        <template #extra>
            <el-button @click="$router.push('/')" type="primary">返回主页</el-button>
        </template>
    </el-result>
</template>

<style scoped>

</style>